package com.flower.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.flower.mapper.ISearchItemDao;
import com.flower.pojo.Product;
import com.flower.service.ISearchItemService;

/**
 * 搜索模块
 */
@Service("searchItemService")
public class SearchItemServiceImpl implements ISearchItemService{
	
	@Resource(name = "ISearchItemDao")
	private ISearchItemDao iSearchItemDao;
	
	@Override
	public List<Product> selectAllProductByPname(String key) {
		return iSearchItemDao.selectAllProductByPname(key);
	}

}
